package com.paradisecloudtech.vc.system.mvp.bean;

import java.util.List;

public class BookingBean {

    /**
     * errorCode : 0
     * errorMessage : OK
     * result : {"bookid":0,"erroCode":0,"conferences":[{"id":193,"name":"0","description":"jiangbo","starttime":"2018-05-10 09:41:35","endtime":"2018-05-28 13:30:00","masterincenter":1,"type":0,"pin":"1234","status":0,"booking_info_id":0,"confnum":"3503","locked":0,"recalltimes":3,"recallinterval":10,"deleted":0,"createDate":"2018-05-10 09:41:35","updateDate":"2018-05-10 09:41:35","conf_template":{"defaultLayout":"2","reserved_cascades":"0","joinPresentationContributionAllowed":"true"},"need_record":0,"modelType":0,"periodicflag":0,"rolling":false}]}
     */

    private int errorCode;
    private String errorMessage;
    private ResultBean result;

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * bookid : 0
         * erroCode : 0
         * conferences : [{"id":193,"name":"0","description":"jiangbo","starttime":"2018-05-10 09:41:35","endtime":"2018-05-28 13:30:00","masterincenter":1,"type":0,"pin":"1234","status":0,"booking_info_id":0,"confnum":"3503","locked":0,"recalltimes":3,"recallinterval":10,"deleted":0,"createDate":"2018-05-10 09:41:35","updateDate":"2018-05-10 09:41:35","conf_template":{"defaultLayout":"2","reserved_cascades":"0","joinPresentationContributionAllowed":"true"},"need_record":0,"modelType":0,"periodicflag":0,"rolling":false}]
         */

        private int bookid;
        private int erroCode;
        private List<ConferencesBean> conferences;

        public int getBookid() {
            return bookid;
        }

        public void setBookid(int bookid) {
            this.bookid = bookid;
        }

        public int getErroCode() {
            return erroCode;
        }

        public void setErroCode(int erroCode) {
            this.erroCode = erroCode;
        }

        public List<ConferencesBean> getConferences() {
            return conferences;
        }

        public void setConferences(List<ConferencesBean> conferences) {
            this.conferences = conferences;
        }

        public static class ConferencesBean {
            /**
             * id : 193
             * name : 0
             * description : jiangbo
             * starttime : 2018-05-10 09:41:35
             * endtime : 2018-05-28 13:30:00
             * masterincenter : 1
             * type : 0
             * pin : 1234
             * status : 0
             * booking_info_id : 0
             * confnum : 3503
             * locked : 0
             * recalltimes : 3
             * recallinterval : 10
             * deleted : 0
             * createDate : 2018-05-10 09:41:35
             * updateDate : 2018-05-10 09:41:35
             * conf_template : {"defaultLayout":"2","reserved_cascades":"0","joinPresentationContributionAllowed":"true"}
             * need_record : 0
             * modelType : 0
             * periodicflag : 0
             * rolling : false
             */

            private int id;
            private String name;
            private String description;
            private String starttime;
            private String endtime;
            private int masterincenter;
            private int type;
            private String pin;
            private int status;
            private int booking_info_id;
            private String confnum;
            private int locked;
            private int recalltimes;
            private int recallinterval;
            private int deleted;
            private String createDate;
            private String updateDate;
            private ConfTemplateBean conf_template;
            private int need_record;
            private int modelType;
            private int periodicflag;
            private boolean rolling;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getStarttime() {
                return starttime;
            }

            public void setStarttime(String starttime) {
                this.starttime = starttime;
            }

            public String getEndtime() {
                return endtime;
            }

            public void setEndtime(String endtime) {
                this.endtime = endtime;
            }

            public int getMasterincenter() {
                return masterincenter;
            }

            public void setMasterincenter(int masterincenter) {
                this.masterincenter = masterincenter;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getPin() {
                return pin;
            }

            public void setPin(String pin) {
                this.pin = pin;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getBooking_info_id() {
                return booking_info_id;
            }

            public void setBooking_info_id(int booking_info_id) {
                this.booking_info_id = booking_info_id;
            }

            public String getConfnum() {
                return confnum;
            }

            public void setConfnum(String confnum) {
                this.confnum = confnum;
            }

            public int getLocked() {
                return locked;
            }

            public void setLocked(int locked) {
                this.locked = locked;
            }

            public int getRecalltimes() {
                return recalltimes;
            }

            public void setRecalltimes(int recalltimes) {
                this.recalltimes = recalltimes;
            }

            public int getRecallinterval() {
                return recallinterval;
            }

            public void setRecallinterval(int recallinterval) {
                this.recallinterval = recallinterval;
            }

            public int getDeleted() {
                return deleted;
            }

            public void setDeleted(int deleted) {
                this.deleted = deleted;
            }

            public String getCreateDate() {
                return createDate;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }

            public String getUpdateDate() {
                return updateDate;
            }

            public void setUpdateDate(String updateDate) {
                this.updateDate = updateDate;
            }

            public ConfTemplateBean getConf_template() {
                return conf_template;
            }

            public void setConf_template(ConfTemplateBean conf_template) {
                this.conf_template = conf_template;
            }

            public int getNeed_record() {
                return need_record;
            }

            public void setNeed_record(int need_record) {
                this.need_record = need_record;
            }

            public int getModelType() {
                return modelType;
            }

            public void setModelType(int modelType) {
                this.modelType = modelType;
            }

            public int getPeriodicflag() {
                return periodicflag;
            }

            public void setPeriodicflag(int periodicflag) {
                this.periodicflag = periodicflag;
            }

            public boolean isRolling() {
                return rolling;
            }

            public void setRolling(boolean rolling) {
                this.rolling = rolling;
            }

            public static class ConfTemplateBean {
                /**
                 * defaultLayout : 2
                 * reserved_cascades : 0
                 * joinPresentationContributionAllowed : true
                 */

                private String defaultLayout;
                private String reserved_cascades;
                private String joinPresentationContributionAllowed;

                public String getDefaultLayout() {
                    return defaultLayout;
                }

                public void setDefaultLayout(String defaultLayout) {
                    this.defaultLayout = defaultLayout;
                }

                public String getReserved_cascades() {
                    return reserved_cascades;
                }

                public void setReserved_cascades(String reserved_cascades) {
                    this.reserved_cascades = reserved_cascades;
                }

                public String getJoinPresentationContributionAllowed() {
                    return joinPresentationContributionAllowed;
                }

                public void setJoinPresentationContributionAllowed(String joinPresentationContributionAllowed) {
                    this.joinPresentationContributionAllowed = joinPresentationContributionAllowed;
                }
            }
        }
    }
}
